<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<!--@标记 ,引入静态资源 css，js,jpg 等; 表单提交 -->
<link rel="stylesheet" th:href="@{/bootstrap/css/bootstrap.css}">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
   <div class="container">

       <table border="1" class="table table-bordered table-hover">
           <thead>
           <tr>
               <th>工号</th>
               <th>姓名</th>
           </tr>
           </thead>
           <tbody>
           <!--thymeleaf中进行遍历, ${users} ognl 作用域-->
           <tr th:each="user: ${users}">
               <td th:text="${user.userid}">userid</td>
               <td th:text="${user.username}">username</td>
           </tr>
           </tbody>
       </table>



   </div>
</body>
</html>